package com.ping.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.core.ActionInvocation;

public class DemoInterceptor implements Interceptor{

	@Override
	public void intercept(ActionInvocation ai) {
		System.out.println("ActionKey:"+ai.getActionKey());
		System.out.println("ControllerKey:"+ai.getControllerKey());
		System.out.println("MethodName:"+ai.getMethodName());
		//System.out.println("ViewPath:"+ai.getViewPath());
		ai.invoke();
	}

}
